export const allComps = [
    // 需要分析的详情模块
    [
        {
            comName: 'FirstRequire',
            modelName: '需求初审',
            edits: [{ roles: ['需求管理员'], stages: ['2'] }],
            permission: {
                roles: [],
                stages: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11']
            },
            disabled: false,
            show: true
        }, // 原始需求
        {
            comName: 'RequireAcceptInfo',
            modelName: '需求受理信息',
            edits: [
                { roles: ['需求管理员'], stages: ['2'] },
                { roles: ['规划人员'], stages: ['3'] },
                { roles: ['产品经理'], stages: ['5'] }
            ],
            // permissions: ['2', '3', '4'],
            permission: {
                roles: [],
                stages: ['2', '3', '4', '5', '6', '7', '8', '9', '10', '11']
            }
        }, // 需求受理信息
        {
            comName: 'RequireFollow',
            modelName: '需求跟进',
            edits: [{ roles: ['产品经理'], stages: ['5', '6', '7', '8', '9', '10', '11'] }],
            permission: {
                roles: [],
                stages: ['5', '6', '7', '8', '9', '10', '11']
            }
        }, // 需求跟进
        {
            comName: 'RequireAdminCheck',
            modelName: '需求管理员审核',
            edits: [{ roles: ['需求管理员'], stages: ['2'] }],
            permission: {
                roles: ['需求管理员'],
                stages: ['2']
            }
        }, // 需求管理员审核
        // {
        //     comName: 'TaskRequireAnalyse',
        //     modelName: '业务需求分析',
        //     edits: [{ roles: ['规划人员'], stages: ['3'] }],
        //     permission: {
        //         roles: [],
        //         stages: ['3', '4'],
        //     },
        // }, // 需求分析——需求设计
        {
            comName: 'RequireDistributation',
            modelName: '需求分发',
            edits: [{ roles: ['需求管理员'], stages: ['4', '5', '6', '7', '8', '9', '10', '11'] }],
            permission: {
                roles: [],
                stages: ['4', '5', '6', '7', '8', '9', '10', '11']
            }
        }, // 需求分发
        {
            comName: 'RequireList',
            modelName: '需求列表',
            edits: [{ roles: ['产品经理'], stages: ['5'] }],
            permission: {
                roles: [],
                stages: ['5', '6', '7', '8', '9', '10', '11']
            }
        }, // 产品需求列表，需求设计
        {
            comName: 'TaskRecord',
            modelName: '历史记录',
            edits: [],
            permission: {
                roles: [],
                stages: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11']
            }
        } // 历史记录
    ],
    // 无需分析的详情模块
    [
        {
            comName: 'FirstRequire',
            modelName: '需求初审',
            edits: [],
            permission: {
                roles: [],
                stages: ['1', '5', '6', '7', '8', '9', '10', '11']
            }
        }, // 原始需求
        {
            comName: 'RequireAcceptInfo',
            modelName: '需求受理信息',
            edits: [{ roles: ['产品经理'], stages: ['5', '6', '7', '8', '9', '10', '11'] }],
            permission: {
                roles: [],
                stages: ['5', '6', '7', '8', '9', '10', '11']
            }
        }, // 需求受理信息
        {
            comName: 'RequireFollow',
            modelName: '需求跟进',
            edits: [{ roles: ['产品经理'], stages: ['5', '6', '7', '8', '9', '10', '11'] }],
            permission: {
                roles: [],
                stages: ['5', '6', '7', '8', '9', '10', '11']
            }
        }, // 需求跟进
        {
            comName: 'RequireList',
            modelName: '需求列表',
            edits: [{ roles: ['产品经理'], stages: ['5'] }],
            permission: {
                roles: [],
                stages: ['5', '6', '7', '8', '9', '10', '11']
            }
        },
        {
            comName: 'TaskRecord',
            modelName: '历史记录',
            edits: [],
            permission: {
                roles: [],
                stages: ['1', '5', '6', '7', '8', '9', '10', '11']
            }
        } // 历史记录
    ]
];